<script>
	function ClassA()
	{
		//alert("ClassA");
	}
	var obj = new ClassA();
	var func = function(){};
	var i = 1;
	var str = "str";
	
	var strResult = "";
	strResult += "obj.constructor: " + obj.constructor + "\n";
	strResult += "obj.constructor==ClassA: " + (obj.constructor==ClassA) + "\n";
	strResult += "obj.constructor==Function: " + (obj.constructor==Function) + "\n";
	strResult += "obj.constructor==Object: " + (obj.constructor==Object) + "\n";
	strResult += "obj.prototype: " + obj.prototype + "\n";
	strResult += "\n";
	strResult += "func.constructor==Function: " + (func.constructor==Function) + "\n";
	strResult += "func.constructor==Object: " + (func.constructor==Object) + "\n";
	strResult += "\n";
	strResult += "i.constructor==Number: " + (i.constructor==Number) + "\n";
	strResult += "\n";
	strResult += "str.constructor==String: " + (str.constructor==String) + "\n";
	strResult += "\n";
	strResult += "\n";
	strResult += "obj: " + obj + "\n";
	strResult += "obj==ClassA: " + (obj==ClassA) + "\n";
	strResult += "obj==Function: " + (obj==Function) + "\n";
	strResult += "obj==Object: " + (obj==Object) + "\n";
	strResult += "obj.prototype: " + obj.prototype + "\n";
	strResult += "\n";
	strResult += "func==Function: " + (func==Function) + "\n";
	strResult += "func==Object: " + (func==Object) + "\n";
	strResult += "\n";
	strResult += "i==Number: " + (i==Number) + "\n";
	strResult += "\n";
	strResult += "str==String: " + (str==String) + "\n";
	
	alert(strResult);
</script>